answer "This copy of HyperCard is located: ΓÇ£" & thePath & "ΓÇ¥"
end if
end mouseUp
-- part contents for background part 38
----- text -----
8/50
-- part contents for background part 20
----- text -----
CurrAppPath - This XFCN returns the full path name of the current application - HyperCard in the case of this stack. When running under Mac OS the correct path is reported even when you move the application around between calls to the XFCN. Under A/UX 2.0 this is not always the case. It occasionally seems to take a while for the file manager to be informed that a file has moved.
Will this cause you trouble? Only if you launch an application, go to the finder or CommandShell, move the application, and then quickly go back and call the XFCN. Even then you will just get the old path, not the end of the world?
CurrAppPath( «"noDialog:"errorGlobal»)
-- part contents for background part 42
----- text -----
{ CurrAppPath(<ΓÇ£noDialogΓÇ¥:errorGlobal>) }
{ XFCN returns fullpath to the current application }
{}
{ brought to you by: Anup Murarka Eric Carlson }
{ ALINK: SKEPTIC ALINK: cyNic }
{ CIS: 76004,3356 }
{}
{ We are part of the Support Tools Development Group, }
{ Apple Computer, Inc. }
{}
{ please DO NOT contack Mac DTS for support of this code! }
{}
{ please DO contact the authors for support of this code! }
{}
{ Send comments, bug reports, requests to any of the above }
{ E-mail addresses or to:}
{}
{ (one of us) }
{ Apple Computer, Inc. }
{ 900 E. Hamilton, Ave. }
{ Campbell, CA 95008 }
{ M/S 72-L }
{}
{ Copyright: © 1989, 1990 by Apple Computer, Inc., all rights reserved. }